package com.lz.myblog.repository;

import com.lz.myblog.entity.Liuyaninfo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LiuyanRepository extends JpaRepository<Liuyaninfo,Integer> {



//        @Transactional  //事务提交
//        @Modifying   //update delete insert
//        @Query("Insert Into liuyaninfo ( username, userimg,liuyancontent,cid ) VALUES ( ?1, ?2,?3,?3 );",nativeQuery=true)
//        public int liuyanadd(String username,String userimg,String liuyancontent,Integer cid);
}
